<div class="hd-20160823">
    <div class="hd-banner-bg">
      <div class="hd-banenr">
        <div class="banner-text">
          Entrar <a href="#">Geekvida.es >></a>
        </div>
        <a href="#display1" class="display-link" style="left: 78px;"></a>
        <a href="#display2" class="display-link" style="left: 279px;"></a>
        <a href="#display3" class="display-link" style="left: 469px;bottom:12px;"></a>
        <a href="#display4" class="display-link" style="left: 668px;"></a>
        <a href="#display5" class="display-link" style="left: 872px;"></a>
      </div>
    </div>
    <div class="hd-main-content">
      <div class="w990">
         <div class="hd-display-block" id="display1">
          <div class="display">
            <h3 class="display-title"><img src="./images/201608232.png" alt="MÓVILES&TABLETAS"></h3>
            <div class="hd-product-list">
                <ul class="lis1 lists-20 clearfloat">
                  </ul>
            </div>
          </div>
         </div>
          <div class="hd-display-block" id="display2">
            <div class="display">
              <h3 class="display-title"><img src="./images/201608232.png" alt="XIAOMI GADGETS"></h3>
              <div class="hd-product-list">
                  <ul class="lis1 lists-20 clearfloat">
                    </ul>
              </div>
            </div>
          </div>

          <div class="hd-display-block" id="display3">
            <div class="display">
              <h3 class="display-title"><img src="./images/201608232.png" alt="GADGETS DEPORTIVOS"></h3>
              <div class="hd-product-list">
                  <ul class="lis1 lists-20 clearfloat">
                    </ul>
              </div>
            </div>
          </div>

          <div class="hd-display-block" id="display4">
            <div class="display">
              <h3 class="display-title"><img src="./images/201608232.png" alt="GADGETS DEPORTIVOS"></h3>
              <div class="hd-product-list">
                  <ul class="lis1 lists-20 clearfloat">
                    </ul>
              </div>
            </div>
          </div>

          <div class="hd-display-block" id="display5" style="padding-bottom: 50px;">
            <div class="display">
              <h3 class="display-title"><img src="./images/201608232.png" alt="GADGETS DEPORTIVOS"></h3>
              <div class="hd-product-list">
                <ul class="lis1 lists-20 clearfloat">
                </ul>
              </div>
            </div>
          </div>

          <div class="panel-layout">
            <p class="panel-title">REBAJAS<br>INCREÍBLES<br><span class="small">ALMACÉN EN ESPAÑA</span></p>
            <ul>
              <li><a href="#display1">MÓVILES&TABLETAS</a></li>
              <li><a href="#display2">XIAOMI GADGETS</a></li>
              <li><a href="#display3">GADGETS DEPORTIVOS</a></li>
              <li><a href="#display4">BEST PARA ELLA</a></li>
              <li><a href="#display5">OTRAS RABABJAS</a></li>
              <li><a id="hd-scrollTop" href="#Top"><img src="./images/2016082313.png"></a></li>
            </ul>
          </div>

       </div>
     </div>
  </div>
  <style>

    .clear {clear: both;}
    .hd-20160823 {background: url(./images/201608231.jpg) no-repeat fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; -ms-background-size: cover;}
    .hd-20160823 .hd-banenr { height: 725px;position: relative;width: 1103px;margin: 0px auto;background: url(./images/201608235.png) no-repeat center;}
    .hd-banenr .banner-text { position: absolute; right: 0px; font-size: 14px; width: 180px; text-align: center; border: 1px solid #dedede; background: #fff; padding: 5px;}
    .hd-banenr .display-link {display: block;position: absolute;bottom:70px;width: 150px;height: 200px;}
    .hd-banenr .banner-text a {color:#02b717;}
    .hd-display-block .display-title{text-align: left;margin-bottom: 0px;}
    .specially-display .specially-list {display: inline-block;margin: 0px 10px 10px;}
    .hd-product-list {background: #fa2672;padding: 5px;}
    .hd-product-list ul li {-webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease;}
    .hd-product-list ul li:hover {transform: translateY(-6px);-webkit-transform: translateY(-6px); -o-transform: translateY(-6px); -ms-transform: translateY(-6px); -moz-transform: translateY(-6px);}       
    .hd-display-block {text-align: center;margin-top:50px;}
   .hd-product-list  .discount-number2{ position: absolute; height: 60px; width: 60px; font-size: 20px; color: #fff100; font-weight: bold; top: 0px; right: 0px; line-height: 60px; background: #00afff; border-radius: 50%;}
    .hd-product-list .review-wrapper p{margin: 0px;text-align:center;line-height: 15px;padding: 0px 5px;height: 30px;overflow: hidden;margin-bottom: 10px;}
    .hd-product-list .review-wrapper p a {color:#666;font-size: 14px;}
    .hd-product-list ul li {width: 235px;background: #fff;float: left;margin:5px;position: relative;}
    .hd-product-list ul li.specially-list img {height: 215px;margin-top: 0px;}
    .hd-product-list ul li img { width: 100%; display: block; margin-top: 10px;}
    .hd-product-list .old-price {font-size: 14px;text-decoration: line-through;line-height: 15px;}
    .hd-product-list .current-price {font-size: 24px;font-weight: bold;color: #ff0267;line-height: 22px;font-style: italic;font-family: arial;}
    .hd-product-list .hd-btn-buy {font-size: 14px;color: #fff;background: #ff0267;padding: 2px 5px 4px;margin: 10px;display: inline-block;width:65%;}
    .hd-product-list .review-wrapper .hd-btn-buy {font-size: 12px;color: #333;float: right;margin-top: 3px;text-decoration: underline;}
    .panel-layout{ width: 180px; height: 260px; position: fixed; top: 0; margin-left: 1000px; display: none;}
    .panel-layout ul li{margin-bottom: 6px;list-style: none;border: 2px solid #fff;}
    .panel-layout ul li a{display: block;height: 34px;width: 100%;color: #fff;text-align: center;font-size: 15px;line-height: 34px;}
    .panel-layout ul li.current a {color:#ff0267;}
    .panel-layout .panel-title {font-size: 25px;font-weight: bold;font-style: italic;color:#fff;background:#ff3156;line-height: 32px;margin-bottom: 6px;text-align: center;}
    .panel-title .small {font-size:14px;display: block;font-style: normal;}
    #hd-scrollTop img {margin-top: 8px;}
    
  </style>

  <script type="text/javascript">
    (function($){

      var str2_20 = `<li class="specially-list">
                <a href="#"><img src="./images/2016082315.jpg" alt="Blackview Ultra A6 Plus 2GB 16GB Dorado"></a>
                <div class="list-product-info">
                  <div class="review-wrapper">
                    <p><a href="#">Blackview Ultra A6 Plus 2GB 16GB Dorado</a></p>
                  </div>
                  <div class="price-area">
                    <span class="old-price">309.99€</span>
                    <span class="current-price">145.99€</span>
                  </div>
                  <a href="#" class="hd-btn-buy">Comprar&gt;&gt;</a>
                </div>
              </li>
              <li class="specially-list">
                <a href="#"><img src="./images/2016082316.jpg" alt="Blackview Ultra A6 Plus 2GB 16GB Dorado"></a>
                  <div class="review-wrapper">
                  <p><a href="#">Blackview Ultra A6 Plus 2GB 16GB Dorado</a></p>
                </div>
                <div class="price-area">
                  <span class="old-price">309.99€</span>
                  <span class="current-price">145.99€</span>
                </div>
                <a href="#" class="hd-btn-buy">Comprar&gt;&gt;</a>
              </li>`;
        for (var i = 0; i < 18; i++) {
            str2_20 += `<li>
                <a href="#"><img src="./images/2016040616.jpg" alt="Blackview Ultra A6 Plus 2GB 16GB Dorado"></a>
                  <div class="review-wrapper">
                  <p><a href="#">Blackview Ultra A6 Plus 2GB 16GB Dorado</a></p>
                </div>
                <div class="price-area">
                  <span class="old-price">309.99€</span>
                  <span class="current-price">145.99€</span>
                </div>
                <a href="#" class="hd-btn-buy">Comprar&gt;&gt;</a>
              </li>`;
           
        }
        $(".lists-20").append(str2_20);

        var sideNav = $(".panel-layout");
        $(window).on("scroll",function(){
          var sideNavShow = $("#display1").offset().top;
          var modTop = [];
          if($(this).scrollTop()>=sideNavShow){
              sideNav.fadeIn(400);
            }
            else{
              sideNav.fadeOut(400);
            }
          /*滚动到哪个地方，相应的对方变换样式*/
          for (var i = 0; i < $(".panel-layout ul li a").length - 1; i++) {
              modTop[i] = $($(".panel-layout ul li a").eq(i).attr("href")).offset().top;

              if ($(window).scrollTop() >= modTop[i]) {
                $(".panel-layout ul li").removeClass('current').eq(i).addClass('current');
              };
            };
        });
        
        sideNav.find("li").find("a").on("click",function(e){
          e.preventDefault();
          var aHash = this.hash;
          $("html,body").animate({
            scrollTop: aHash=="#Top" ? 0 : $(aHash).offset().top
          });
        });

        $(".hd-banenr .display-link").on("click",function(e){
          e.preventDefault();
          var aHash = this.hash;
          $("html,body").animate({
            scrollTop: aHash=$(aHash).offset().top
          });
        });

    })(jQuery);
  </script>